package com.zdkj.subway.check.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * TVM票款差异分钱箱差异审核记录表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sw_au_tvm_box_amount_difference_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TVM票款差异分钱箱差异审核记录表")
public class SwAuTvmBoxAmountDifferenceLog extends Model<SwAuTvmBoxAmountDifferenceLog> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;

    /**
     * 主表id
     */
    @ApiModelProperty(value = "主表id")
    private Integer relationId;

    /**
     * 收入结算开始日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date incomeSettleBeginTime;

    /**
     * 收入结算结束日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date incomeSettleEndTime;

    /**
     * 线路编码
     */
    @ApiModelProperty(value = "线路编码")
    private String lineCode;

    /**
     * 车站编码
     */
    @ApiModelProperty(value = "车站编码")
    private String stationCode;

    /**
     * TVM编号
     */
    @ApiModelProperty(value = "TVM编号")
    private String tvmCode;

    /**
     * 钱箱类型
     */
    @ApiModelProperty(value = "钱箱类型（字典）")
    private String cashBoxType;

    /**
     * 钱箱编号
     */
    @ApiModelProperty(value = "钱箱编号")
    private String cashBoxCode;

    /**
     * 系统合计金额
     */
    @ApiModelProperty(value = "系统合计金额（分）")
    private BigDecimal systemMoney;

    /**
     * 修改前的系统金额
     */
    @ApiModelProperty(value = "修改前的系统金额（分）")
    private BigDecimal oldSystemMoney;

    /**
     * 卸载实点金额
     */
    @ApiModelProperty(value = "卸载实点金额（分）")
    private BigDecimal actualMoney;

    /**
     * 差异金额
     */
    @ApiModelProperty(value = "差异金额（分）")
    private BigDecimal diffMoney;

    /**
     * 票款差异协查回馈卸载实点金额
     */
    @ApiModelProperty(value = "票款差异协查回馈卸载实点金额（分）")
    private BigDecimal replyActualMoney;

    /**
     * 票款差异协查回馈手工清出金额
     */
    @ApiModelProperty(value = "票款差异协查回馈手工清出金额（分）")
    private BigDecimal replyHandOutMoney;

    /**
     * 收入日期
     */
    @ApiModelProperty(value = "收入日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    /**
     * 数据来源
     */
    @ApiModelProperty(value = "数据来源")
    private String dataSource;

    /**
     * 修改原因备注
     */
    @ApiModelProperty(value = "修改原因备注")
    private String reasonRemark;

    /**
     * 修改人工号
     */
    @ApiModelProperty(value = "修改人工号")
    private String creatorId;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String creatorName;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
